package com.example.aircraftwar.codes.goal;

/**
 * 排行榜游戏记录
 */
public class Record {
    private int rank;
    private String name;
    private int score;
    private String time;

    public Record(String name, int score, String time){
        this.rank=1;
        this.name=name;
        this.score=score;
        this.time=time;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }

    public int getRank() {
        return rank;
    }

    public String getName() {
        return name;
    }

    public int getScore() {
        return score;
    }

    public String getTime() {
        return time;
    }
}
